package cn.pojo;
import java.util.Date;
import java.sql.Timestamp;
import java.io.Serializable;

   /**
    * books 实体类
    * Thu Nov 08 16:50:32 CST 2018 xyl
    */ 


public class Books implements Serializable {
	private Integer id;
	private String name;
	private String author;
	private String publish;
	private Integer page;
	private Integer price;
	private Timestamp time;
	public void setId(Integer id){
		this.id=id;
	}
	public Integer getId(){
		return id;
	}
	public void setName(String name){
		this.name=name;
	}
	public String getName(){
		return name;
	}
	public void setAuthor(String author){
		this.author=author;
	}
	public String getAuthor(){
		return author;
	}
	public void setPublish(String publish){
		this.publish=publish;
	}
	public String getPublish(){
		return publish;
	}
	public void setPage(Integer page){
		this.page=page;
	}
	public Integer getPage(){
		return page;
	}
	public void setPrice(Integer price){
		this.price=price;
	}
	public Integer getPrice(){
		return price;
	}
	public void setTime(Timestamp time){
		this.time=time;
	}
	public Timestamp getTime(){
		return time;
	}
	@Override
	public String toString() {
		return "Books [id=" + id + ", name=" + name + ", author=" + author + ", publish=" + publish + ", page=" + page
				+ ", price=" + price + ", time=" + time + "]";
	}
	
}

